/*
 * Copyright 2019 WeBank
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.webank.wedatasphere.dss.framework.workspace.bean;

import java.util.Date;


public class DSSWorkspace {
    private int id;
    private String name;
    private String label;
    private String description;
    private String createBy;
    private Date createTime;
    private String department;
    private String product;
    private String source;
    private Date lastUpdateTime;
    private String lastUpdateUser;
    private String workspaceType;
    private int adminPermission;
    private String enabledFlowKeywordsCheck;

    private String isDefaultReference;

    private boolean isDefaultWorkspace;

    public int getAdminPermission() {
        return adminPermission;
    }

    public void setAdminPermission(int adminPermission) {
        this.adminPermission = adminPermission;
    }

    public String getWorkspaceType() {
        return workspaceType;
    }

    public void setWorkspaceType(String workspaceType) {
        this.workspaceType = workspaceType;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getProduct() {
        return product;
    }

    public void setProduct(String product) {
        this.product = product;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser;
    }


    public String getEnabledFlowKeywordsCheck() {
        return enabledFlowKeywordsCheck;
    }

    public void setEnabledFlowKeywordsCheck(String enabledFlowKeywordsCheck) {
        this.enabledFlowKeywordsCheck = enabledFlowKeywordsCheck;
    }

    public String getIsDefaultReference() {
        return isDefaultReference;
    }

    public void setIsDefaultReference(String isDefaultReference) {
        this.isDefaultReference = isDefaultReference;
    }

    public boolean getIsDefaultWorkspace() {
        return isDefaultWorkspace;
    }

    public void setIsDefaultWorkspace(boolean defaultWorkspace) {
        isDefaultWorkspace = defaultWorkspace;
    }
}
